Trace

Block Group: Logic
Icon: Trace block icon

Monitors changes to specified properties and logs changes in the browser's JavaScript console. This block is useful for debugging dataflow. It logs changes using the following syntax:

Trace: <timestamp> : <traceLabel> : <property path> : <msg> : <value>

The traceLabel and msg portions appear only if those properties are defined.


Input/Output Properties

These properties can take input and give output.

tracing specifies whether the changes are recorded. In addition to TRUE and FALSE, you can also set a value of Auto.

msg specifies a string to be included in the developer console when values for this block are updated.

input n specifies the path to one of the properties that this block monitors.


Model

Each log message in the console includes the value of msg ("AAAA") and also the Stage's value of traceLabel ("BBBB").

Trace dataflow model